﻿using System.Windows;
using System.Windows.Controls;
using ParseControls;

namespace ParseOnlineAdmin
{
    /// <summary>
    /// Interaction logic for ParseAddRelatedItem.xaml
    /// </summary>
    public partial class ParseAddRelatedItem : UserControl
    {
        string _text = string.Empty;

        public ParseAddRelatedItem(string text)
        {
            InitializeComponent();

            _text = text;
        }
        public ParseAddRelatedItem()
        {
            InitializeComponent();
        }

        private void Button_Click(object sender, RoutedEventArgs e)
        {
            ParseOne.InformationSending(new ParseCustomEventArgs("Assign:RelatedItem"));

            ParseOne.InformationSending(new ParseCustomEventArgs("Panel:Close"));
        }
    }
}
